= svnserve =

Below a simple <tt>svnserve</tt> setup with following steps
* create an <tt>svn</tt> user
* create repository as <tt>/home/svn/svn</tt> using <tt>svnadmin</tt>
* edit config file <tt> svn/conf/svnserve.conf</tt>
* edit password file <tt>svn/conf/passwd</tt>
* ensure that svn restarted via the cron on <tt>@reboot</tt>

<pre>
# adduser svn
# su - svn
$ svnadmin create /home/svn/svn # create a repo "svn" in svn home dir

$ ls svn/conf/
authz
passwd
svnserve.conf

svn@evans:~$ vi svn/conf/svnserve.conf

[general]
anon-access = read
auth-access = write
password-db = passwd

svn@evans:~$ vi svn/conf/passwd
[users]
evans = evansSVNpasswd

$ crontab -e
@reboot svnserve -d --listen-host evans -r /home/svn/svn
</pre>

where the <tt>--listen-host</tt> option is on the external IP interface rather than <tt>localhost</tt>.


[[Category:uncategorized]]

__NOTOC__
